package com.example.liao.day9_13;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.ImageView;

public class MainActivity extends AppCompatActivity {

    private ImageView ph1;
    private ImageView ph2;
    private ImageView ph3;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
    }

    private void initView() {
        ph1 = findViewById(R.id.ph_1);
        ph2 = findViewById(R.id.ph_2);
        ph3 = findViewById(R.id.ph_3);
    }
    public void onClick(View view) {
        startActivity(new Intent(this, PicActivity.class));
    }
}
